$OpenBSD: patch-Data_MySQL_testsuite_Makefile,v 1.1 2013/08/16 10:05:55 sthen Exp $
--- Data/MySQL/testsuite/Makefile.orig	Tue Mar 19 19:59:53 2013
+++ Data/MySQL/testsuite/Makefile	Tue Mar 19 19:59:55 2013
@@ -9,7 +9,7 @@
 include $(POCO_BASE)/build/rules/global
 
 INCLUDE += -I./../include -I/usr/local/include/mysql -I/usr/include/mysql -I/usr/mysql/include/mysql -I/usr/local/mysql/include
-SYSLIBS += -L/usr/local/lib$(LIB64SUFFIX)/mysql -L/usr/lib$(LIB64SUFFIX)/mysql -L/usr/mysql/lib$(LIB64SUFFIX)/mysql -L/usr/local/mysql/lib$(LIB64SUFFIX) -lmysqlclient -lz -lpthread -ldl
+SYSLIBS += -L/usr/local/lib$(LIB64SUFFIX)/mysql -L/usr/lib$(LIB64SUFFIX)/mysql -L/usr/mysql/lib$(LIB64SUFFIX)/mysql -L/usr/local/mysql/lib$(LIB64SUFFIX) -lmysqlclient -lz -lpthread
 
 objects = MySQLTestSuite Driver \
 	MySQLTest SQLExecutor
